Automattic\Jetpack\Sync\Modules\Comments S

Total Complexity 46
Dependencies 4
Dependents 0
Total lines 488
Lines of code 199
Logical lines of code 104
Comment lines 240
Methods 25
Properties 0

Methods 25

Method Rating Maintainability Complexity Lines of code
only_allow_white_listed_comment_types()
S
59 5 15
init_listeners()
S
46 3 39
handle_comment_contents_modification()
S
57 4 18
filter_meta()
S
70 3 6
get_object_by_id()
S
64 3 10
filter_blacklisted_post_types()
S
66 3 8
filter_comment()
S
62 2 11
expand_comment_ids()
S
59 1 16
estimate_full_sync_actions()
S
63 2 10
get_where_sql()
S
69 2 6
is_comment_type_allowed()
S
68 2 7
filter_jetpack_sync_before_enqueue_wp_insert_comment()
S
71 2 6
only_allow_white_listed_comment_type_transitions()
S
68 2 7
id_field()
S
82 1 3
init_before_send()
S
79 1 3
enqueue_full_sync_actions()
S
74 1 4
get_whitelisted_comment_types()
S
71 1 6
get_full_sync_actions()
S
81 1 3
count_full_sync_actions()
S
79 1 3
expand_wp_comment_status_change()
S
78 1 3
expand_wp_insert_comment()
S
78 1 3
init_full_sync_listeners()
S
80 1 3
is_whitelisted_comment_meta()
S
78 1 3
table_name()
S
82 1 3
name()
S
82 1 3